home *** CD-ROM | disk | FTP | other *** search
- onClipEvent(enterFrame){
- if(this._name != "nade")
- {
- if(this._currentframe == 1)
- {
- y_speed -= 2;
- this._x += x_speed;
- this._y -= y_speed;
- if(_root.ravNogo.hitTest(this._x,this._y,true))
- {
- this.gotoAndStop(2);
- }
- }
- }
- i = 1;
- while(i < 20)
- {
- if(this.hitTest(_root.ravNogo["ob" + i].targ))
- {
- _root.ravNogo["ob" + i].hp -= 2 * ((_root.even9 + 1) / 1.5);
- }
- i++;
- }
- }
-